package com.example.yangyinzhaixian.Bean;

import java.util.List;

/**
 * Created by hasee on 2017/10/18.
 */

public class Course2Bean {

    /**
     * code : success
     * data : {"chapterId":703,"chapterIsBuy":false,"chapterName":"《24首随想曲》第五首 ","chapterPrice":25,"chapters":[{"chapterIsBuy":false,"chapterPrice":25,"courseId":90,"id":703,"isShowTest":0,"lectureId":0,"liveId":1,"liveStatus":2,"liveTime":"上课啦","name":"《24首随想曲》第五首 ","score":0,"showIndex":1,"showIndexText":"第1章","teacherId":0,"testconfigId":0,"type":0,"videoId":532}],"courseId":90,"courseIntroduce":"","courseIsBuy":false,"courseIsFavorites":false,"courseName":"小提琴·《24首随想曲》第五首","coursePrice":25,"courseType":1,"groupType":0,"id":532,"image":"http://ali-files.yooshow.com/2017/05/12/2c2b26cd-63fe-4c49-8b70-98ffe14829c4.jpg","name":"《24首随想曲》第五首","pause":300,"pauseOnSecond":300,"pauseText":"","roomId":0,"shareView":{"shareContent":"中央音乐学院管弦系陈曦|付费课程可试看","sharePic":"http://ali-files.yooshow.com/2017/01/24/03f07dc9-407f-4157-a2e7-b76b2d51f80f.jpg","shareTitle":"小提琴·《24首随想曲》第五首","shareUrl":"http://m.immedc.com/fenxiang/course?id=90"},"summany":"","teacherAvatar":"http://ali-files.yooshow.com/2017/01/24/03f07dc9-407f-4157-a2e7-b76b2d51f80f.jpg","teacherId":52,"teacherIntroduce":"","teacherName":"陈曦","teacherTitle":"中央音乐学院管弦系","url":"http://1251603248.vod2.myqcloud.com/4c9adaa7vodtransgzp1251603248/0d145eab9031868222931892391/f0.f40.mp4","videoPrice":0,"videoType":0}
     * message :
     * success : true
     */

    private String code;
    private DataBean data;
    private String message;
    private boolean success;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * chapterId : 703
         * chapterIsBuy : false
         * chapterName : 《24首随想曲》第五首
         * chapterPrice : 25
         * chapters : [{"chapterIsBuy":false,"chapterPrice":25,"courseId":90,"id":703,"isShowTest":0,"lectureId":0,"liveId":1,"liveStatus":2,"liveTime":"上课啦","name":"《24首随想曲》第五首 ","score":0,"showIndex":1,"showIndexText":"第1章","teacherId":0,"testconfigId":0,"type":0,"videoId":532}]
         * courseId : 90
         * courseIntroduce :
         * courseIsBuy : false
         * courseIsFavorites : false
         * courseName : 小提琴·《24首随想曲》第五首
         * coursePrice : 25
         * courseType : 1
         * groupType : 0
         * id : 532
         * image : http://ali-files.yooshow.com/2017/05/12/2c2b26cd-63fe-4c49-8b70-98ffe14829c4.jpg
         * name : 《24首随想曲》第五首
         * pause : 300
         * pauseOnSecond : 300
         * pauseText :
         * roomId : 0
         * shareView : {"shareContent":"中央音乐学院管弦系陈曦|付费课程可试看","sharePic":"http://ali-files.yooshow.com/2017/01/24/03f07dc9-407f-4157-a2e7-b76b2d51f80f.jpg","shareTitle":"小提琴·《24首随想曲》第五首","shareUrl":"http://m.immedc.com/fenxiang/course?id=90"}
         * summany :
         * teacherAvatar : http://ali-files.yooshow.com/2017/01/24/03f07dc9-407f-4157-a2e7-b76b2d51f80f.jpg
         * teacherId : 52
         * teacherIntroduce :
         * teacherName : 陈曦
         * teacherTitle : 中央音乐学院管弦系
         * url : http://1251603248.vod2.myqcloud.com/4c9adaa7vodtransgzp1251603248/0d145eab9031868222931892391/f0.f40.mp4
         * videoPrice : 0
         * videoType : 0
         */

        private int chapterId;
        private boolean chapterIsBuy;
        private String chapterName;
        private int chapterPrice;
        private int courseId;
        private String courseIntroduce;
        private boolean courseIsBuy;
        private boolean courseIsFavorites;
        private String courseName;
        private int coursePrice;
        private int courseType;
        private int groupType;
        private int id;
        private String image;
        private String name;
        private int pause;
        private int pauseOnSecond;
        private String pauseText;
        private int roomId;
        private ShareViewBean shareView;
        private String summany;
        private String teacherAvatar;
        private int teacherId;
        private String teacherIntroduce;
        private String teacherName;
        private String teacherTitle;
        private String url;
        private int videoPrice;
        private int videoType;
        private List<ChaptersBean> chapters;

        public int getChapterId() {
            return chapterId;
        }

        public void setChapterId(int chapterId) {
            this.chapterId = chapterId;
        }

        public boolean isChapterIsBuy() {
            return chapterIsBuy;
        }

        public void setChapterIsBuy(boolean chapterIsBuy) {
            this.chapterIsBuy = chapterIsBuy;
        }

        public String getChapterName() {
            return chapterName;
        }

        public void setChapterName(String chapterName) {
            this.chapterName = chapterName;
        }

        public int getChapterPrice() {
            return chapterPrice;
        }

        public void setChapterPrice(int chapterPrice) {
            this.chapterPrice = chapterPrice;
        }

        public int getCourseId() {
            return courseId;
        }

        public void setCourseId(int courseId) {
            this.courseId = courseId;
        }

        public String getCourseIntroduce() {
            return courseIntroduce;
        }

        public void setCourseIntroduce(String courseIntroduce) {
            this.courseIntroduce = courseIntroduce;
        }

        public boolean isCourseIsBuy() {
            return courseIsBuy;
        }

        public void setCourseIsBuy(boolean courseIsBuy) {
            this.courseIsBuy = courseIsBuy;
        }

        public boolean isCourseIsFavorites() {
            return courseIsFavorites;
        }

        public void setCourseIsFavorites(boolean courseIsFavorites) {
            this.courseIsFavorites = courseIsFavorites;
        }

        public String getCourseName() {
            return courseName;
        }

        public void setCourseName(String courseName) {
            this.courseName = courseName;
        }

        public int getCoursePrice() {
            return coursePrice;
        }

        public void setCoursePrice(int coursePrice) {
            this.coursePrice = coursePrice;
        }

        public int getCourseType() {
            return courseType;
        }

        public void setCourseType(int courseType) {
            this.courseType = courseType;
        }

        public int getGroupType() {
            return groupType;
        }

        public void setGroupType(int groupType) {
            this.groupType = groupType;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPause() {
            return pause;
        }

        public void setPause(int pause) {
            this.pause = pause;
        }

        public int getPauseOnSecond() {
            return pauseOnSecond;
        }

        public void setPauseOnSecond(int pauseOnSecond) {
            this.pauseOnSecond = pauseOnSecond;
        }

        public String getPauseText() {
            return pauseText;
        }

        public void setPauseText(String pauseText) {
            this.pauseText = pauseText;
        }

        public int getRoomId() {
            return roomId;
        }

        public void setRoomId(int roomId) {
            this.roomId = roomId;
        }

        public ShareViewBean getShareView() {
            return shareView;
        }

        public void setShareView(ShareViewBean shareView) {
            this.shareView = shareView;
        }

        public String getSummany() {
            return summany;
        }

        public void setSummany(String summany) {
            this.summany = summany;
        }

        public String getTeacherAvatar() {
            return teacherAvatar;
        }

        public void setTeacherAvatar(String teacherAvatar) {
            this.teacherAvatar = teacherAvatar;
        }

        public int getTeacherId() {
            return teacherId;
        }

        public void setTeacherId(int teacherId) {
            this.teacherId = teacherId;
        }

        public String getTeacherIntroduce() {
            return teacherIntroduce;
        }

        public void setTeacherIntroduce(String teacherIntroduce) {
            this.teacherIntroduce = teacherIntroduce;
        }

        public String getTeacherName() {
            return teacherName;
        }

        public void setTeacherName(String teacherName) {
            this.teacherName = teacherName;
        }

        public String getTeacherTitle() {
            return teacherTitle;
        }

        public void setTeacherTitle(String teacherTitle) {
            this.teacherTitle = teacherTitle;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getVideoPrice() {
            return videoPrice;
        }

        public void setVideoPrice(int videoPrice) {
            this.videoPrice = videoPrice;
        }

        public int getVideoType() {
            return videoType;
        }

        public void setVideoType(int videoType) {
            this.videoType = videoType;
        }

        public List<ChaptersBean> getChapters() {
            return chapters;
        }

        public void setChapters(List<ChaptersBean> chapters) {
            this.chapters = chapters;
        }

        public static class ShareViewBean {
            /**
             * shareContent : 中央音乐学院管弦系陈曦|付费课程可试看
             * sharePic : http://ali-files.yooshow.com/2017/01/24/03f07dc9-407f-4157-a2e7-b76b2d51f80f.jpg
             * shareTitle : 小提琴·《24首随想曲》第五首
             * shareUrl : http://m.immedc.com/fenxiang/course?id=90
             */

            private String shareContent;
            private String sharePic;
            private String shareTitle;
            private String shareUrl;

            public String getShareContent() {
                return shareContent;
            }

            public void setShareContent(String shareContent) {
                this.shareContent = shareContent;
            }

            public String getSharePic() {
                return sharePic;
            }

            public void setSharePic(String sharePic) {
                this.sharePic = sharePic;
            }

            public String getShareTitle() {
                return shareTitle;
            }

            public void setShareTitle(String shareTitle) {
                this.shareTitle = shareTitle;
            }

            public String getShareUrl() {
                return shareUrl;
            }

            public void setShareUrl(String shareUrl) {
                this.shareUrl = shareUrl;
            }
        }

        public static class ChaptersBean {
            /**
             * chapterIsBuy : false
             * chapterPrice : 25
             * courseId : 90
             * id : 703
             * isShowTest : 0
             * lectureId : 0
             * liveId : 1
             * liveStatus : 2
             * liveTime : 上课啦
             * name : 《24首随想曲》第五首
             * score : 0.0
             * showIndex : 1
             * showIndexText : 第1章
             * teacherId : 0
             * testconfigId : 0
             * type : 0
             * videoId : 532
             */

            private boolean chapterIsBuy;
            private int chapterPrice;
            private int courseId;
            private int id;
            private int isShowTest;
            private int lectureId;
            private int liveId;
            private int liveStatus;
            private String liveTime;
            private String name;
            private double score;
            private int showIndex;
            private String showIndexText;
            private int teacherId;
            private int testconfigId;
            private int type;
            private int videoId;

            public boolean isChapterIsBuy() {
                return chapterIsBuy;
            }

            public void setChapterIsBuy(boolean chapterIsBuy) {
                this.chapterIsBuy = chapterIsBuy;
            }

            public int getChapterPrice() {
                return chapterPrice;
            }

            public void setChapterPrice(int chapterPrice) {
                this.chapterPrice = chapterPrice;
            }

            public int getCourseId() {
                return courseId;
            }

            public void setCourseId(int courseId) {
                this.courseId = courseId;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIsShowTest() {
                return isShowTest;
            }

            public void setIsShowTest(int isShowTest) {
                this.isShowTest = isShowTest;
            }

            public int getLectureId() {
                return lectureId;
            }

            public void setLectureId(int lectureId) {
                this.lectureId = lectureId;
            }

            public int getLiveId() {
                return liveId;
            }

            public void setLiveId(int liveId) {
                this.liveId = liveId;
            }

            public int getLiveStatus() {
                return liveStatus;
            }

            public void setLiveStatus(int liveStatus) {
                this.liveStatus = liveStatus;
            }

            public String getLiveTime() {
                return liveTime;
            }

            public void setLiveTime(String liveTime) {
                this.liveTime = liveTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getScore() {
                return score;
            }

            public void setScore(double score) {
                this.score = score;
            }

            public int getShowIndex() {
                return showIndex;
            }

            public void setShowIndex(int showIndex) {
                this.showIndex = showIndex;
            }

            public String getShowIndexText() {
                return showIndexText;
            }

            public void setShowIndexText(String showIndexText) {
                this.showIndexText = showIndexText;
            }

            public int getTeacherId() {
                return teacherId;
            }

            public void setTeacherId(int teacherId) {
                this.teacherId = teacherId;
            }

            public int getTestconfigId() {
                return testconfigId;
            }

            public void setTestconfigId(int testconfigId) {
                this.testconfigId = testconfigId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getVideoId() {
                return videoId;
            }

            public void setVideoId(int videoId) {
                this.videoId = videoId;
            }
        }
    }
}
